package whf.framework.report;

import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author king
 * @create 2008-1-19 下午06:30:19
 * 
 */
public interface ReportExportHandler {
	/**
	 * 初始化处理器；
	 * @author king
	 * @create 2008-1-19 下午06:31:30
	 * @param context
	 * @throws ServletException
	 */
	public void init(ServletContext context) throws ServletException;
	
	/**
	 * 处理报表
	 * @author king
	 * @create 2008-1-19 下午06:31:51
	 * @param request
	 * @param response
	 * @throws Exception
	 */
	public void handle(HttpServletRequest request, HttpServletResponse response) throws Exception;
}
